package com.backend.system.beans.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serial;
import java.io.Serializable;

/**
 * 按角色查询全部菜单（标识已拥有、未拥有）请求体
 *
 * @author backend-manage
 */
@Data
@ApiModel
public class ListMenuByRoleReq implements Serializable {
    @Serial
    private static final long serialVersionUID = 3861696722913673066L;

    /**
     * 角色ID
     */
    @NotNull(message = "角色ID不能为空")
    @ApiModelProperty(value = "角色ID", required = true)
    private Long roleId;
}
